﻿using Ecommerce.Domain;
using Ecommerce.Domain.User;

namespace Ecommerce.Services.User
{
    public interface IUseInfoServices
    {
        Task<List<UseInfo>> GetLogin(string Name, string UserPaw);
        

        Task<List<Role>> GetRoles();

        Task<object> GetUser(int Pid);

        Task<object> GetAccount();

        Task<List<Account>> GetNameUser(string Name);

        Task<int> AddAccount(Account account);

        Task<List<Account>> AccountLish(int rid);

        Task<int> UpdateAccount(Account account);
    }
}